﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddSubforum.aspx.cs" Inherits="WebRole1.AddSubforum" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<br />

<table style=" border-style: solid; border-color: Black;">
	<tr>
		<td>
			<asp:Label ID="Label3" runat="server" Text="List of subforums" Font-Bold="true"></asp:Label>
		</td>
		
		<td rowspan="3" valign="top">
			<asp:Button ID="Button1" runat="server" Text="New" onclick="btnNew_Click" />
			<br />
			<asp:Button ID="Button2" runat="server" Text="Remove" onclick="btnDelete_Click" />
		</td>
	</tr>

	<tr>
		<td>
			<asp:GridView ShowHeader="false" ID="gridSubforums" runat="server" AutoGenerateColumns = "false" GridLines="None" CellPadding="5" CellSpacing="5">
				<Columns>
					<asp:HyperLinkField Text="Select" DataNavigateUrlFields="id" DataNavigateUrlFormatString="AddSubforum.aspx?id={0}" />
					<asp:BoundField DataField="Name" />
				</Columns>
			</asp:GridView>
		</td>
		
		<td>
		</td>
	</tr>

	<tr style="height: 10px">
		<td style="height: 10px">
		</td>
		<td>
		</td>
	</tr>

	<tr>
		<td>

			<table>
				<tr>
					<td>
						<asp:Label ID="Label1" runat="server" Text="Forum title"></asp:Label>
					</td>
					<td>
						<asp:TextBox ID="txtForumTitle" runat="server" MaxLength="50" Width="400px"></asp:TextBox>
					</td>
				</tr>

				<tr>
					<td>
						<asp:Label ID="Label2" runat="server" Text="Forum Description"></asp:Label>
					</td>
					<td>
						<asp:TextBox ID="txtDescription" runat="server" MaxLength="999" TextMode="MultiLine" Rows="3" Width="400px"></asp:TextBox>
					</td>
				</tr>

				<tr>
					<td>
						<asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
					</td>
				</tr>
			</table>
			
		</td>
	</tr>
</table>









</asp:Content>



